compile v8 without zlib static lib
authorJérémy Lal <kapouer@melix.org>
Tue, 24 Mar 2026 21:38:48 +0000 (22:38 +0100)
committerJérémy Lal <kapouer@melix.org>
Tue, 24 Mar 2026 21:38:48 +0000 (22:38 +0100)
Last-Update: 2023-12-16
Forwarded: https://github.com/nodejs/node/issues/33848

it should have a minor performance impact

Gbp-Pq: Topic deps
Gbp-Pq: Name v8-no-static-zlib.patch

tools/v8_gypfiles/features.gypi
tools/v8_gypfiles/v8.gyp

index 215b929776d6c42fcbbd19080f13b3527ed67daa..4a2ac76e250c5daf52e6641b70f420fc51299f44 100644 (file)
 
     # Compile V8 using zlib as dependency.
     # Sets -DV8_USE_ZLIB
-    'v8_use_zlib%': 1,
+    'v8_use_zlib%': 0,
 
     # Enable Sparkplug
     # Sets -DV8_ENABLE_SPARKPLUG.
index cb82d4f15bc87d2e6df9c9177ab142f83674ee90..e38d3d28b9b704538f2ae03fb24ca46f6c35bdb6 100644 (file)
         'run_torque',
         'v8_internal_headers',
         'v8_maybe_icu',
-        'v8_zlib',
         'v8_pch',
         'fp16',
         'abseil.gyp:abseil',